﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Araman.Models.FilesAndPaths
{
    using Araman.Models;
    using System.Web.Mvc;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using Araman.Resources;
    public class StorageDirectory
    {
        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int DirectoryId { get; set; }
        
        [MaxLength(32)]
        [Required(AllowEmptyStrings = false)]
        public string DirectoyTagName { get; set; }

        [Required(AllowEmptyStrings = false)]
        [MaxLength(1024)]
        [MinLength(1)]
        public string RelativePath { get; set; }

        [MaxLength(1024)]
        public string WebUrlPathEquivalent { get; set; }

        public virtual MainStorage Mainstorage { get; set; }


        public static StorageDirectory UploadsTempStorage { get { return null; } }
        public static StorageDirectory UsersAvatarStorage { get { return null; } }
        public static StorageDirectory UsersImageStorage { get { return null; } }
        public static StorageDirectory UsersVideoStorage { get { return null; } }
        public static StorageDirectory UsersAudioStorage { get { return null; } }
        public static StorageDirectory UsersFlashStorage { get { return null; } }
        public static StorageDirectory UsersOtherStorage { get { return null; } }
    }
}